fixes #7885 - adding counts to lifecycle environments

as part of this i centralized the errata counts into a template
Then No, an enabled product is a product with one repo.  We should never get into a situation where a repo exists outside of library but not for library within a product, and if for some reason we do, you could argue whether or not the product should be identified as 'enabled'.