store no. of rows/page in localStorage