t: Base.Index.Distance</a><div class="comment collapse" id="comment-var-count_-self-index-distance"><div class="p">
    <p>Returns the number of elements.</p>

<p><strong>Complexity:</strong> O(1) if <code>Index</code> conforms to <code>RandomAccessIndexType</code>;
  O(N) otherwise.</p>

    <h4>Declaration</h4>    
    <code class="language-swift">var count: Base.Index.Distance { get }</code>

        <h4>Declared In</h4>
            <a href="../../protocol/CollectionType/"><code>CollectionType</code></a>