Nature Neuroscience, Published online: 12 June 2026; doi:10.1038/s41593-026-02330-z

Striatal direct and indirect pathways jointly control how many actions are performed during counting, and how animals move toward specific goals. These pathways implement a push–pull controller for discrete action counting as well as continuous movement control.