Replace length by $totalCount
add paging to tutorial steps