lithium\util\Collection::count()

public method

Counts the items of the object.

Returns

integer

Returns the number of items in the collection.

Source

	public function count() {
		$count = iterator_count($this);
		$this->rewind();
		return $count;
	}