'Return the number of plurals for this catalog language, or 2 if no
plural string is available.'

@property
def _num_plurals(self):

    match = re.search('nplurals=\\s*(\\d+)', (self._plural_string or ''))
    if match:
        return int(match.groups()[0])
    return 2
