Finding number of values in a HashMap?
<p>What is the best / most efficient way to find the total number of <em>Values</em> in a <code>HashMap</code>. </p>

<p>I do not mean the <a href="http://www.tutorialspoint.com/java/util/hashmap_size.htm" rel="noreferrer">.size()</a> method as it counts the number of keys. I want the total number of <em>values</em> in all the keys. </p>

<p>I want to do so as my key is a <code>String</code>, but my value is a <code>List</code>.</p>