A group of friends went bowling. It cost $5.50 for each to bowl. Then they also bought a pizza for $6.75. If the total cost of their bowling night was $39.75, how many friends went bowling?