I have assigned the classes count and right to each of the row counters.

styles.css
body {
  background-color: ivory;
}
#squares {
  width:80vmin;
  height:80vmin;
  background-color:lightblue;
  margin:1vmin;
  border:1.5vmin ridge brown;
  padding-left:3vmin;
  padding-top:2vmin;
}
.row {
  display:flex;
}
.square {
  width:7.2vmin;
  height:7.2vmin;
  border:.2vmin solid;
}
.count {
  font-size:3.5vmin;
  display:flex;
}
.right {
  align-items:center;
  margin-left:1vmin;
}