added forgotten template file and made a comment counter