We prove that the length function for perverse sheaves and algebraic regular holonomic 𝒟-modules on a smooth complex variety
![$ Y$](img3.png)
is an absolute ℚ-constructible function. One consequence is: for "any" fixed natural (derived) functor
![$ F$](img5.png)
between constructible complexes or perverse sheaves on two smooth varieties
![$ X$](img6.png)
and
![$ Y$](img3.png)
, the loci of rank one local systems
![$ L$](img7.png)
on
![$ X$](img6.png)
whose image
![$ F(L)$](img8.png)
has prescribed length are Zariski constructible subsets defined over
ℚ, obtained from finitely many torsion-translated complex affine algebraic subtori of the moduli of rank one local systems via a finite sequence of taking union, intersection, and complement.