tools/smaz: new command-line option to filter substrings by count