tokencounter: Now fail gracefully