Given a sentence, count the number of words.
It is a beautiful day.
The sentence "It is a beautiful day." contains 5 words.
Complete the following task based on the instruction and optional input provided.### Instruction:
Given a sentence, count the number of words.

### Input:
It is a beautiful day.

### Output:
The sentence "It is a beautiful day." contains 5 words.