Added {total-caps} variable