Tree point counting