Add getters for number of locals/parameters.
More work on Jasmin generation.