countif() The countif() function returns the number of instances of a specified template. The instances must be descendants (e.g., children, grandchildren,...