You say `get_count_by_index` but it's `get_count_from_index`