Calculated problem count in db. No more "caching"