Let X be the number of chickens Mr. Rainwater has. He has 4 goats/cow * 9 cows = <<4*9=36>>36 goats on his farm.
So he has 36 goats / 2 goats/chicken = <<36/2=18>>18 chickens.
#### 18