Compute basic stats on the command line