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:
4
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:
user
4
assistant
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:
4