prints statistics