Sandra counted the number of legs walking in the park she counted a total of 7 people and some dogs each person had two legs and each dog had four legs they were 22 legs how many dogs did she count