On the farm , there are a total of 20 animals , all of which are either cows or chickens .There are 52 legs total. How many chicken are on the farm Assuming each animal has all of its legs?