Syntax
Return the number of contacts, including inactive ones. The optional argument allows filtering with a contact class name (e.g., mechanical) or a contact type name (e.g., ball-ball). By default, the mechanical contact list is considered.
i - number of contacts (including inactive ones)
s - optional contact type name or contact type name
9.1.13