new way of showing count to avoid directive unparsing