Added square counter