moved countsDE to doc