The spell Compulsion says
Creatures of your choice that you can see within range and that can hear you must make a Wisdom saving throw. <...> On a failed save, a target is affected by this spell
Does this mean that the spell can affect as many creatures as the caster desires, provided that they are within range and the caster can see them, and the targets can hear the caster?