Should return zero if string is 0,
Should return 1 if string is 1,
Should return 3 if string is 1,2