Count all inputs that were made this year

Count all inputs that were made this year

I'm not understanding how to Count all inputs that were made this year.

This is what I have:



count(ACTION_ITEM_TRACKING[Added_Time.getYear()  == zoho.currentdate.getYear()])




The error is:
"Error in statement at line number 1
Either the left or the right expression in a boolean expression in the criteria has to be a Form/Table Variable"