Mealy machine and moore machine

Can we compute the number of machine of two kind of transducers (mealy and moore) with $ n$ states, and lenght of input symbols $ m$ , and lenght of output symbols $ p$ .