You would think Javascript would have a built in function to tell us the number of times word appears in string or the number of times a character appears in a string, but Javscript is a very rich programming language so lets not complain