In the barn, there are horses and chickens. There are 11 heads and 32 legs altogether. How many chickens are there?

A. 6
B. 5
C. 4
D. 3