there are 5 people.Each person has 1 hat.How many are in all.4

There are 6 people or hats in all. The key word in the problem is "in all".