In this task, answer 'Yes' if the frequency of the given word in the two sentences is equal, else answer 'No'.
Sentence1: 'three sheep one grazing on grass while a dog stands behind them', Sentence2: 'a smiling young woman with open yellow umbrella standing in front of a castlelike building'. Is the frequency of the word 'a' in two sentences equal?