Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
To remove this question from the "unanswered" queue: As Tony Huynh said in a comment, the sum of $n(x)$ is called the algebraic intersection of the curves.