allow the use of counters in the view