Zaslat SMS: On the relationship between reachability problems in timed and counter automata