Easy Python solution
\ndef countPrefixes(self, words: List[str], s: str) -> int:\n        c=0\n        for i in words:\n            l=len(i)\n            if i==s[:l]:\n             
```\ndef countPrefixes(self, words: List[str], s: str) -> int:\n        c=0\n        for i in words:\n            l=len(i)\n            if i==s[:l]:\n                c+=1\n        return c\n```
['Python', 'Python3']