Heights on stacks and a generalized Batyrev–Manin–Malle conjecture. (3rd March 2023)