You can calculate the number of of transition metals by counting the number of electrons outside the ultimate noble gas core.
e.g (1) Chromium:
This means there are 6 available for .
e.g (2) Zirconium:
This means there are 4 valence electrons available for bonding.