after_setup_theme is called three times

Hooks and filters can have several Actions attached. Hence the $priority argument. In short: It’s just a big multi dimensional array where the key is the hook/filter name and the values are the attached callbacks plus their priority.

techhipbettruvabetnorabahisbahis forumuedusedueduseduedueduedueduseduedu