In this task, answer 'Yes' if the frequency of the given word in the two sentences is equal, else answer 'No'.
Sentence1: 'a dog sits next to bathtub in a bathroom', Sentence2: 'a herd of elephants traveling together on a dirt pasture'. Is the frequency of the word 'a' in two sentences equal?