moved total row count to Collection