How many fruit make up a pineapple?

The pineapple itself is a fruit.