Use a helper function to set the survey count (the previous method had a
syntax error because we can't use a variable as a dictionary literal
key -- oops).
Fix more syntax errors
Merge pull request #47 from christhompson/bugfix-storage

Bug fix: Use a helper function to set the daily survey count