added total comments column to the database script