Typecast pagination info to int