Wissen Infotech Interview Question

Count the frequency of the specific word in a given string.