Do not count mitzvot which are not binding on all generations. E.g., the laws regarding the disassembly of the Tabernacle, or the prohibition against waging war on Amon and Moab, which only applied to the Israelites in the desert.