public function count(): int {
		$count = 0;

		/**
		 * @var DiffOp $diffOp
		 */
		foreach ( $this as $diffOp ) {
			$count += $diffOp->count();
		}

		return $count;
	}
public function count(): int {
		$count = 0;

		/**
		 * @var DiffOp $diffOp
		 */
		foreach ( $this as $diffOp ) {
			$count += $diffOp->count();
		}

		return $count;
	}
public function count ( ) : int { $ count = 0 ; /**
		 * @var DiffOp $diffOp
		 */ foreach ( $ this as $ diffOp ) { $ count += $ diffOp -> count ( ) ; } return $ count ; }
Counts the number of atomic operations in the diff.
This means the size of a diff with as elements only empty diffs will be 0.
Or that the size of a diff with one atomic operation and one diff that itself
holds two atomic operations will be 3.

@see Countable::count

@since 0.1

@return int
Counts the number of atomic operations in the diff . This means the size of a diff with as elements only empty diffs will be 0 . Or that the size of a diff with one atomic operation and one diff that itself holds two atomic operations will be 3 .