title: Showing the count of rows in a MySQL table, where the logged events are exactly x year and y month old
body: <p>I have a quite simple database which autologs events and dates. I've recently tried looking at how many events took place exactly x years and y month ago. I know this can be acommplished by manually looking up
  the date and making a where year(time) = x and month(time)=y, but is there an option to do this with timediff or datesub somehow?</p>