Only count enabled resources.

I stop with the feature creep until you catch up.