uncommented database update lines for deployment to Heroku
changed query to hopefully fix heroku error on note_tone column
Changed count function to use .size instead of .count as this was not working on Heroku (postgress vs. sql difference)