add max min count support