Optimized page view counter admin page.

Used query from David Juhasz to speed up page view counter admin page.