Make counting code more robust

Just print that there was an error instead of irritating the contestant
with a stack trace.
v0.0.6