/workspace/logscan/logscan.py counts how many log lines contain each known error signature (see the README there). Add an optional --min-count N argument: signatures with fewer than N matching lines are left out of the output (default 1, so signatures that never occur are no longer printed). The output rows must also be sorted by count, highest first, with ties kept in signatures.txt order. Everything else about the tool must keep working as documented. The result will be run directly on this machine, so make sure it actually works here.