is there any usage of self._process_counter anymore ? if not maybe we can remove it