title: Need to count the occurrences of "Y" in the second position in a string in a rang
body: <p><a href="https://i.stack.imgur.com/IqNIe.png" rel="nofollow noreferrer">Column A with char string, B has formula</a></p>
  
  <p>I have column A with a 4 character string that is 18 rows deep.  I want to count how many occurrences of "Y" are in the second position in the string for the range.  I have tried a bunch of combinations of countif and mid to no avail.  The strings look like this (in case the image is unclear)</p>
  
  <pre><code>1YN2
  2NN2
  0YY1   
  </code></pre>