func strings.Count

8 uses

	strings (current package)
		replace.go#L516: 			if c := Count(s, x); c != 0 {
		strings.go#L40: func Count(s, substr string) int {
		strings.go#L248: 		n = Count(s, sep) + 1
		strings.go#L1071: 	if m := Count(s, old); m == 0 {

	mime
		encodedword.go#L201: 	if len(word) < 8 || !strings.HasPrefix(word, "=?") || !strings.HasSuffix(word, "?=") || strings.Count(word, "?") != 4 {

	net/http
		cookie.go#L283: 	cookies := make([]*Cookie, 0, len(lines)+strings.Count(lines[0], ";"))

	net/url
		url.go#L524: 	if strings.HasSuffix(rest, "?") && strings.Count(rest, "?") == 1 {

	path/filepath
		path.go#L367: 		seps := strings.Count(base[b0:bl], string(Separator))