title: Countif date includes year, month or day
body: <p>I have a column containing dates in a Google sheet. How can I count the number of dates that include a specific year, month or day?</p>
  
  <p>I have tried the following: <code>=COUNTIF(G:G, YEAR(2000))</code> which just returns a zero, although there are multiple dates in the year 2000 in that column.</p>
  
  <p>All the best!</p>