<p>Given a string <code>word</code>, return <em>the <strong>sum of the number of vowels</strong> (</em><code>'a'</code>, <code>'e'</code><em>,</em><code>'i'</code><em>,</em><code>'o'</code><em>, and</em><code>'u'</code><em>)</em><em>in every substring of </em><code>word</code>.</p>
<p>A <strong>substring</strong> is a contiguous (non-empty) sequence of characters within a string.</p>
<p><strong>Note:</strong> Due to the large constraints, the answer may not fit in a signed 32-bit integer. Please be careful during the calculations.</p>