In this task, you need to count the total number of words in this sentence.
A basket of sweets was placed in the corner.
The total number of words in the sentence "A basket of sweets was placed in the corner." is 9.
Complete the following task based on the instruction and optional input provided.### Instruction:
In this task, you need to count the total number of words in this sentence.

### Input:
A basket of sweets was placed in the corner.

### Output:
The total number of words in the sentence "A basket of sweets was placed in the corner." is 9.