Replaced len with count and removed unused import
Changed session pagesize to 10