Return correct number of params