find_modes now uses --min-count as threshold