debug logging of Scala and data.json object counts