datatable.FExpr.rowcount()

Equivalent to dt.rowcount(self).