Should return 10 if string is 1,2\n3,4