Task: Program Execution
Input (English): Sentence: 'a giraffe spitting out water while a gazelle watches in the background'. Count the occurrences of the word 'a' in the given sentence.
Output (English): 2