Remove pagination related logic (fragile) and only report page number when we know it
Report number of items as an integer
Use semi-colons whenever possible
Add semi-colons and indentation
Added list of products if available