JAVA SOLN
class Solution {\n    public int countPrefixes(String[] words, String s) {\n        \n        int count =0;\n        for(int i=0; i<words.length; i++){\n       
class Solution {\n    public int countPrefixes(String[] words, String s) {\n        \n        int count =0;\n        for(int i=0; i<words.length; i++){\n         if(s.startsWith(words[i])){\n             count++;\n         }\n        } \n        return count;\n    }\n}
[]