Scala Api: added counts