I am French and the restrictions in place in my country are driven by several indicators, including "the total number of infections per day". For reference, it is currently given as about 10000.
My general question is: how statistically relevant is this number? (the specific question is further below)
It is based on the number of tests, so if a country does 0 tests per day, this number of infections would be 0. If every citizen was tested daily, we would have the exact number of infected people every day (I put aside the 24-48 hours of delay to get the results, this is not relevant in my question - let's assume we have the results immediately).
France does a certain amount of tests per day, several hundreds of thousands probably, but less than the 70 million our country has of citizens.
We could imagine that if $n$ people out of $m$ tested are positive (a number that is not provided - it probably exists somewhere but it is not the indicator), one could extrapolate that we have $n/m \times 70000000$ infected people every day.
That would in turn assume that the people that get tested are representative of the whole population - which is certainly not the case.
My specific question: are there models that allow the extrapolation from the non-representative tested population (based, say, on a set of questions about them, their age, health, occupation, etc.) to estimate the true number of ~10000 infected people every day?
In other words: does this number make sense?
I would like, just in case, to mention that I do not want to discuss whether using that number is relevant, or whether that number means something biologically speaking. I am just trying to understand if it can, statistically, reflect a reality