* They: This is a subject pronoun, referring to a group of people.
* Him: This is an object pronoun, referring to a male person.
* He: This is a subject pronoun, referring to the same male person as "him."
* It: This is an object pronoun, referring to an unspecified object.
Therefore, there are four pronouns in the sentence: They, him, he, it.