@aggregate(_(u'Count of'))
def aggregate_count(items, col):
 return len(list(items))

@ aggregate ( _ ( u'Count of' ) ) def aggregate_count ( items , col ) : return len ( list ( items ) )
function to use on group by charts .