<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, weighted=True):
 """Return numberic count of rows considered for cube response."""

        return self._measures.weighted_n if weighted else self._measures.unweighted_n