Determining the Number of Solutions