#4 renamed total to totalResults

renamed `total` to `totalResults`