Using Variables to Create Statistics