Given a sentence, output the word count.
I wanted to go to the beach.
The word count is 7.
Complete the following task based on the instruction and optional input provided.### Instruction:
Given a sentence, output the word count.

### Input:
I wanted to go to the beach.

### Output:
The word count is 7.