modified students_my_pagination.py -- add function for number pages