Dynamics: topology and numbers