updating counts of obj vs stl