func strings.Count

8 uses

	strings (current package)
		replace.go#L516: 			if c := Count(s, x); c != 0 {
		strings.go#L41: func Count(s, substr string) int {
		strings.go#L244: 		n = Count(s, sep) + 1
		strings.go#L1097: 	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#L339: 	cookies := make([]*Cookie, 0, len(lines)+strings.Count(lines[0], ";"))
		server.go#L2713: 	return len(n.pattern.segments) == strings.Count(path, "/")

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