function reportIfTooManyStatements(node, count, max) {
			if (count > max) {
				const name = upperCaseFirst(
					astUtils.getFunctionNameWithKind(node),
				);

				context.report({
					node,
					messageId: "exceed",
					data: { name, count, max },
				});
			}
		}
Reports a node if it has too many statements
@param {ASTNode} node node to evaluate
@param {number} count Number of statements in node
@param {number} max Maximum number of statements allowed
@returns {void}
@private