func bytes.Count

6 uses

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

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