Made counting faster