If you get rid of `CELLULOID_IGNORE_CORE_COUNTING_ERRORS`, I think this method definition is redundant. You should just fold this code into `self.count_cores`