How many "Mate in X" positions are there?

Sort:
CheesePrix2314

Assuming White to move, can one count how many positions are there such that White will mate Black in a move? If yes, can one develop a theorem to count how many positions are there such that White will mate Black in "x" moves?