title: Bash associative array size
body: <p>Is there a way to get size of associative array in bash:</p>
  
  <pre><code>declare -A array
  </code></pre>
  
  <p>...without iterating through the elements?</p>
  
  <p>The size of interest is both: just number of elements, and memory amount it consumes?</p>