Check for correct number of parameters in type instances