Determining Number of Solutions