minimum count as parameter