Count parameters with new fn.