read c ${c//0} echo $[${#_}-1]