Added getPagesCount and getCurrentPage methods.