adding viewcount tpl var