public function count() {
		if(!$this->initialized)
			$this->initialize();

		return count($this->elements) - count($this->toRemove) + count($this->toAdd);
	}
public function count() {
		if(!$this->initialized)
			$this->initialize();

		return count($this->elements) - count($this->toRemove) + count($this->toAdd);
	}
public function count ( ) { if ( ! $ this -> initialized ) $ this -> initialize ( ) ; return count ( $ this -> elements ) - count ( $ this -> toRemove ) + count ( $ this -> toAdd ) ; }
Return number of elements.
@return integer
Return number of elements .