You will be given a definition of a task first, then some input of the task.
In this task, you need to count the occurrences of the given word in the given sentence.

Sentence: 'a man in a red shirt and plaid pants sits on a brown couch and holds a little baby'. Count the occurrences of the word 'a' in the given sentence.
Output:

Show your work and conclude with the exact phrasing "Therefore, the final answer is [answer]." where [answer] is just the final number or expression that solves the problem.
user
4