src/IteratableCollection.php
public function count(): int
	{
		$key = $this->storeKey();
		if (! $this->isCountable($this->$key)) {
			return 0;
		}
		return count($this->$key);
	}
public function count(): int
	{
		$key = $this->storeKey();
		if (! $this->isCountable($this->$key)) {
			return 0;
		}
		return count($this->$key);
	}
public function count ( ) : int { $ key = $ this -> storeKey ( ) ; if ( ! $ this -> isCountable ( $ this -> $ key ) ) { return 0 ; } return count ( $ this -> $ key ) ; }
Get size of collection

@return int
Get size of collection