append( $iterable ); } /** * @see Countable::count * @since 3.0 * * {@inheritDoc} */ public function count() { return $this->count; } /** * @since 3.0 * * {@inheritDoc} */ public function append( Iterator $iterable ) { if ( $iterable instanceof Countable ) { $this->count += $iterable->count(); } $this->getArrayIterator()->append( $iterable ); } }