WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Notes

Notes::get_notes_count() public WC 1.0

Get the total number of notes

{} It's a method of the class: Notes{}

No Hooks.

Return

Int. Nothing.

Usage

$result = Notes::get_notes_count( $type, $status );
$type(string)
Comma separated list of note types.
$status(string)
Comma separated list of statuses.

Code of Notes::get_notes_count() WC 5.3.0

<?php
public static function get_notes_count( $type = array(), $status = array() ) {
	$data_store = \WC_Data_Store::load( 'admin-note' );
	return $data_store->get_notes_count( $type, $status );
}