On the relative frequencies of core-collapse supernovae sub-types: The role of progenitor metallicity