function ngettext(const singular,plural:widestring;Number:longint):widestring;

This function is explained in the Section called Plural forms in the chapter called Action>.