Python output of lines with an entry threshold greater than 1 Python output of lines with occurrence value > 1