123=0 4235=0 656=2 5390=2 8890=6 1001=2 19235=1
What is 123456789?
Answer: 4.
You need to count the number of closed circles.