python solution
\tclass Solution:\n\t\tdef countPrefixes(self, words: List[str], s: str) -> int:\n\t\t\tres = 0\n\t\t\tfor word in words:\n\t\t\t\tif s[:len(word)] == word: res
\tclass Solution:\n\t\tdef countPrefixes(self, words: List[str], s: str) -> int:\n\t\t\tres = 0\n\t\t\tfor word in words:\n\t\t\t\tif s[:len(word)] == word: res += 1\n\t\t\treturn res
[]