func bytes.Count
10 uses
bytes (current package)
bytes.go#L55: func Count(s, sep []byte) int {
bytes.go#L349: n = Count(s, sep) + 1
bytes.go#L1100: m = Count(s, old)
github.com/golang/protobuf/proto
text_encode.go#L126: newlines := bytes.Count(p, newline)
go/build
build.go#L1281: line = 1 + bytes.Count(data[:cap(data)-cap(arg)], newline)
google.golang.org/protobuf/internal/encoding/json
decode.go#L227: line = bytes.Count(b, []byte("\n")) + 1
google.golang.org/protobuf/internal/encoding/text
decode.go#L613: line = bytes.Count(b, []byte("\n")) + 1
mellium.im/sasl
scram.go#L73: n := bytes.Count(user, []byte{'='}) + bytes.Count(user, []byte{','})
net/textproto
reader.go#L574: return bytes.Count(peek, nl)