ForecastEnabled is used in the User object to enable Allow Forecasting check box.
SOQL:
SELECT COUNT ( Id ) FROM User WHERE IsActive = true AND ForecastEnabled = true