The animals are 9 equal units. Seven of them are dogs, totalling 21.
Plain numbers are given; italic underlined numbers are worked out.
There are 27 animals in the shop.
Check: 7⁄9 of 27 = 21 dogs. ✓