How many children are in the hospital
The total number of students is ∑ f = 3 + 4 + 5 + 6 + 7 + 6 + 5 + 4
= 40