more comments in Counter.scala
add license