added countParams