Add Total of grouped items to Active Record query interface on guides