A group of people and a dog sitting on the steps.
A group of dogs are waiting for their master.
The group of people sitting on steps have one dog.  The group of dogs wait on their master.
The subject cannot be both people and dogs simultaneously.
There cannot be a group of dogs if there is only a singular dog, or if the group consists of people.