Add deactivated check to project type count