figure out how many vars there are in the app.