added stats script, stats are changing based on the limit and offset fields in the page