The current world population is about 8 billion.
By my argument it should be 2 billion.
Your argument is therefore rather foolish.
This is circular. This number depends enormously on lifestyle and consumption factors (e.g., the average person in India emits an order of magnitude less CO2 than the average person in the USA).
And of course lifestyle and consumption factors can be anticipated to have an impact on happiness or other utilitarian metrics.
So you cannot solve for the number of people without having already chosen a target "resource-linked happiness metric" or whatever.
If you had a single objective function in terms of population you could solve for that population level, but I doubt such a function is knowable.
What is clear from this line of thinking, however, is that any action which reduces resource intensity without reducing happiness (renewables!) is an unalloyed good. But that's probably not surprising to anyone.
The current world population is about 8 billion.
By this argument, and also by your argument, it should actually be 999 billion. Or a number even higher than that.
The conclusion boils down to:
1. Find maximum population number earth can support.
2. Hit that number.
I do think that, when put this way, it seems simplistic.