Number Automata