Changing where the total comes from in getMany