function renderContributorBadge({ label, contributorCount }) {
  return {
    label,
    message: metric(contributorCount),
    color: contributorColor(contributorCount),
  }
}
Handles rendering concerns of badges that display contributor count.
Determines the message and color of the badge according to the contributor count.

@param {object} attrs Refer to individual attributes
@param {string} [attrs.label] If provided then badge label is set to this value
@param {number} attrs.contributorCount Contributor count
@returns {object} Badge with label, message and color properties