Check the number of params