assorted doc/config tweaking
switch to wider data-type for counts