Orignally there are two mother dogs (pregnant) - thus two mother dogs and two baby dogs to be born, making the quantity four;
then one mother dog (pregnant) went away, leaving one mother dog (pregnant);
then another mother dog (pregnant) came;
finally there are two mother dogs (pregnant) at the door.