It is estimated that there are about 3 trillion trees on Earth. Meanwhile, the number of stars in the Milky Way Galaxy is estimated to be around 100–400 billion. So, according to estimates, the number of trees on Earth is much greater. 0
The tree numbers come from research that combines satellite data with field surveys to estimate the number of trees worldwide. So it doesn't mean that anyone counts the trees one by one.
If you think about it, we can see a sky full of stars every night, even though the number of trees on our own planet is estimated to be many times more. The earth turns out to be more “busy” than it looks from the outside.