A keyboard is malfunctioning: some letter keys do not work, while every other key works normally.
Given a string text of words separated by single spaces (no leading or trailing spaces) and a string brokenLetters of all the distinct broken letter keys, return the number of words in text that you can type completely on this keyboard.