Added dynamic counter to view