The first 3 (of 14) rules for counting the 613 Mitzvot
Do not count Rabbinic Commandments in this list.
(E.g. lighting Chanukah candles or reciting the Hallel.)
Do not include laws which are derived from one of the Thirteen Principles of Torah Exegesis.
Do not count mitzvot which are not binding on all generations.