The basal ganglia (BG) are central to voluntary action, yet how they organize complex behavior remains unclear. Using a novel operant counting task, we trained mice to perform a specific number of ...