The Earth has 3 trillion trees, study finds