update part counts