Count of circles in a number aka 2581 by eban

loop{p gets.count("0698")+$_.count("8")}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top