<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _countWhereGreaterEqualInRows(sparseMatrix, rows, threshold):
 """ Like countWhereGreaterOrEqual, but for an arbitrary selection of rows, and without any column filtering. """

  return sum(sparseMatrix.countWhereGreaterOrEqual(row, row+1,
                                                   0, sparseMatrix.nCols(),
                                                   threshold)
             for row in rows)