new variable totalsets

Total set variable calculated