updated total count