counting changed assingments