Added the benchmark script. The template generator now tracks the variables which are used the most in a template.