What is 123456789 ? - Math Riddle


If 123=0

4235=0

656=2

5390=2

8890=6

1001=2

19235=1

What is 123456789?