func strings.Count

15 uses

	strings (current package)
		replace.go#L506: 			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#L930: 	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#L244: 	cookies := make([]*Cookie, 0, len(lines)+strings.Count(lines[0], ";"))

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

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

	src.elv.sh/pkg/cli/lscolors
		lscolors.go#L93: 			if strings.Count(splitValue, "0") == len(splitValue) {

	src.elv.sh/pkg/diag
		context.go#L66: 	beginLine := strings.Count(before, "\n") + 1
		context.go#L76: 	endLine := beginLine + strings.Count(culprit, "\n")

	src.elv.sh/pkg/eval/mods/str
		str.go#L573: 	"count":        strings.Count,

	src.elv.sh/pkg/fsutil
		claim.go#L34: 	if strings.Count(pattern, "*") != 1 {

	src.elv.sh/pkg/ui
		text_segment.go#L138: 	return strings.Count(s.Text, string(r))

	testing
		match.go#L78: 	a := make([]string, 0, strings.Count(s, "/"))