Find the Number of Solutions to a System of Equations