title: Creating a custom date based counter (on yearly basis, on monthly basis, ...)
body: <p>I need to prepare a "counter" for creating IDs based on a specific mask with   automatically incremented counter (yearly based). Something like "10${myYear}/${myCounter(myYear)}-FP" where the ID for the first document in 2016 would be <strong>1016/001-FP</strong>:</p>
  
  <ol>
  <li>"10" is a fix string that does not change,</li>
  <li>"16" is the the yy of current year > ${myYear},</li>
  <li>"/" is a fixed string again,</li>
  <li>"001" is the first item for the actual year > ${myCounter(myYear)} - the counter would start from 1 on the beginning of each year and automatically incremented each time a new item is created (pulled from),</li>
  <li>"-FP" is again a fixed string.</li>
  </ol>
  
  <p>Does counter-handler have to be custom coded or is there anything similar included?</p>