These functions take a string named _word_ and a single or multi character named _x_ as parameters. The function should return the number of times _x_ appears in _word_.