added sum() SQL function to MongoDB ODM query conversion process