There will be 22 goats.
Explanation: Let number of chickens be x and number of goats be y
According to the question,
x+y= 90
2 x + 4 y = 224 [As chickens have 2 legs and goat as 4 legs ]
2(x+y=90)
2 x + 4 y = 224
2 x + 2 y = 180
By subtracting we get 2 y = 44
So, y = 22
Therefore, number goats is 22