<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _reduce_count(self):
 """Reduce size of cache by count. """

        if self.max_count:
            while len(self.data) > self.max_count:
                self.data.popitem(last=False)