add "count" method for strings
Fix setup of koka-console-out in a browser.