What you can't say is this:
We have to say:
"Compound" is a singular count noun, so you can, of course, have four compounds.
But, since one of the requirements of a collective noun is that sometimes it can appear with a plural verb, "compound" does not fit. We can't say, "The compound are..."