create/load pattern-total-count dictionary