Count Prefixes of a Given String
\nint count=0;\n        for(auto it:words){\n            string str=s.substr(0,it.size());\n            if(str==it)\n            count++;\n        }\n        \n
```\nint count=0;\n        for(auto it:words){\n            string str=s.substr(0,it.size());\n            if(str==it)\n            count++;\n        }\n        \n        return count;\n\t\t\n```
['C', 'Iterator']