title: Possible to use COUNTIF with a function on the range's values?
body: <p>Let's say that I have a list of dates starting from A1 and going across...</p>
  
  <p><code>1/3/2014</code>
  <code>2/5/2014</code>
  <code>5/5/2015</code>
  <code>8/10/2016</code>
  <code>...</code></p>
  
  <p>I'd like to count the number of times a certain month appears in this range.  My current solution is that the row below it just contains <code>=MONTH(x1)</code>, where <code>x</code> is the column, and then I call a COUNTIF on that row.  </p>
  
  <p>I don't think that's so bad of a solution, but it does require a whole bunch of extra cells just to calculate months in my spreadsheet, which isn't really necessary for anything else.</p>
  
  <p>So basically, is there any way to do something along the lines of =COUNTIF(MONTH(range),5) to count, for example, the number of times something occurs in May?</p>