modify total counts