pylint not defined, same for _get_dummy_index and _get_count_index
missing imports?
missing unit tests