Go golang solution
go\nfunc countPrefixes(words []string, s string) int {\n    ans := 0\n    for _, word := range words {\n        n := len(word)\n        if n > len(s) { continue
```go\nfunc countPrefixes(words []string, s string) int {\n    ans := 0\n    for _, word := range words {\n        n := len(word)\n        if n > len(s) { continue }\n        if word == s[:n] { ans++ }\n    }\n    return ans\n}\n```
['Go']