Collecting statistics about simple and multiple assignments