sum number of parts in consistency check