pub fn count_set_bits(bytes: &[u8], range: Range<usize>) -> usize
Counts the number of set bits in the provided range