Puoi racchiudere la tua query in un'altra:
SELECT
cnt AS page_visits
, COUNT(*) AS number_of_visitors
FROM
( SELECT
COUNT(*) AS cnt --- use: COUNT(DISTINCT page_id)
--- for a different count
FROM vislog
GROUP BY visid
) AS grp
GROUP BY cnt
ORDER BY number_of_visitors ;
oppure (suppongo che questo abbia più senso per passare i numeri a un grafico), rimuovi ORDER BY
che equivale a mettere:
ORDER BY cnt ;