https://leetcode.com/problems/count-prefixes-of-a-given-string


Success


```python
class Solution:
    def countPrefixes(self, words: List[str], s: str) -> int:
        counting = 0
        for word in words:
            if s.startswith(word):
                counting += 1
        return counting
```
