Fix wrong number of total gems