fixes #7885 - adding counts to lifecycle environments

as part of this i centralized the errata counts into a template
thats not what the enabled scope does.... it returns products that have at least one repo