Validate number of params being passed to path