How many prime numbers are there less than 10,000,000? Provide a mathematical approach that allows you to estimate an upper bound on this count. Code and execute a program (any programming language) to provide an exact result. Include program and output as attachments to your executive summary. Also include a flowchart diagramming the program logic, or, pseudocode.
In scholarship interviews, a famous question asked is: How many trees are there in the world? Simply reporting an answer will not be credited: you must give a detailed solution supporting your answer.