What is happening
You arrive at a farm visit where the class counts legs under the gate instead of animals.
Nobody can see over the gate to count the goats, and the farmer needs to know they are all in. Every goat stands on 4 legs, and 24 legs are visible under the gate.