Why doesn’t Rambam count rabbinic mitzvot in the 613?
Because new rabbinic laws could always be added, the list would never be closed.
Instead, he keeps the 613 fixed to Torah commandments, while rabbinic ones stand in their own category.