make frequency of results printed a command line variable