Each animal has 1+3=<<1+3=4>>4 total heads and legs.
Then there are 20/4=<<20/4=5>>5 in the flock.
#### 5