counts (counting of any) (tag)

count_users()

Counts the total number of users, dividing them by roles (administrators, subscribers).

wp_count_comments()

Gets data about the number of comments on the site or separately for the specified post. Data is collected separately by comment types (all variants of the field comment_approved: approved, spam, etc.).

wp_count_posts()

Gets the number of posts of any post type and any status (publish, draft).

wp_count_terms()

Counts how many elements (terms) are in the taxonomy, with or without posts.