def METHOD_NAME(self, data, cursor_process_multiplier):
    """Look how often the byte in the input data repeats, up to NRL_LOOKAHEAD_MAX_BYTES"""
    nc = self.cursor
    repeats = 0
    while (
        nc < self.length_input
        and read_u8(self.uncompressed_data, nc) == data
        and repeats < NRL_LOOKAHEAD_ZERO_MAX_BYTES
    ):
        repeats += 1
        nc += cursor_process_multiplier
    return repeats