added number of elements per page to index.html