Count trees