func bytes.Count

8 uses

	bytes (current package)
		bytes.go#L55: func Count(s, sep []byte) int {
		bytes.go#L349: 		n = Count(s, sep) + 1
		bytes.go#L993: 		m = Count(s, old)

	github.com/golang/protobuf/proto
		text_encode.go#L126: 	newlines := bytes.Count(p, newline)

	go/build
		build.go#L1262: 	line = 1 + bytes.Count(data[:cap(data)-cap(arg)], newline)

	golang.org/x/pkgsite/internal/godoc/dochtml/internal/render
		linkify.go#L415: 	numLines := bytes.Count(src, []byte("\n")) + 1

	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#L614: 	line = bytes.Count(b, []byte("\n")) + 1