Good guess, Ismael.
But, one of the characteristics of a collective noun is that it sometimes takes a plural verb. "Compound" always takes a singular verb.
There can be a compound composed of people, and a chemical compound composed of different kinds of molecules. In both cases, though, the word "compound" takes a singular verb; it never takes a plural verb.
The words family, committee, flock, government and others -- collective nouns, all -- can take plural verb in some conditions, and often do in British English.