print statistics instead of returning them (where they are invisible)