I believe this can be taken out of incrementDocCount