easy fast short solution
\nPLEASE UPVOTE IF YOU LIKE\n\n```\n        int count = 0;\n        for(String temp: words)\n            if (s.indexOf(temp) == 0)\n                count++;\n  
```\nPLEASE UPVOTE IF YOU LIKE\n```\n```\n        int count = 0;\n        for(String temp: words)\n            if (s.indexOf(temp) == 0)\n                count++;\n        return count;
['Java']