Hola James!
"Contaros" is the combination of the infinitive "contar" and the second person plural unstressed pronoun "os": contar + os
You can see how pronouns are placed with infinitives in this more advanced lesson.
I hope this helps.
Un saludo