frontend: stats service and counter view