number of docs constant