simple statistics from the command line