code: def npgettext(self, context, singular, plural, num, domain=None, **variables):
          
          variables.setdefault('num', num)
          t = self.get_translations(domain)
          return t.unpgettext(context, singular, plural, num) % variables
docs: Like :meth:`ngettext` but with a context.