Pass on element for counting macro's to avoid issues with const (also
align with the rest)