move lucene max results count into constant
replace computation of total uncertain to base on isUncertain of before
and after count
add logging for getCounts