countByState

Counts registered trees by state. Takes no ComponentTree lock, so it is cheap to sample.