countchars3.scala