Command line tool to summarize stats by prefix