added counter to DisplayController