`buffer.byte_count` counts occurrences of `needle_byte & 0xff` in a byte
buffer.
Reference CPU implementation:
```rust
let count = haystack.iter()
```
WGSL spelling note: each lane contributes `1u` for a masked byte match and
`0u` otherwise, then the implementation reduces by addition.