Count local variables for IR generation.