<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def count(self, elem):
 """ Return the number of elements equal to elem present in the queue 2 """

        return self._left_list.count(elem) + self._right_list.count(elem)