Don't you have a member in your model that holds the current number of rows?