def collect_values_with_count
		values = Hash.new {|h,k| h[k]=0}
		self.class.ecore.eAllAttributes.each do |a|
			v = self.send(:"#{a.name}")
			if v!=nil
				if a.many
					v.each {|el| values[el]+=1}
				else
					values[v]+=1
				end
			end
		end
		values			
	end
def collect_values_with_count
		values = Hash.new {|h,k| h[k]=0}
		self.class.ecore.eAllAttributes.each do |a|
			v = self.send(:"#{a.name}")
			if v!=nil
				if a.many
					v.each {|el| values[el]+=1}
				else
					values[v]+=1
				end
			end
		end
		values			
	end
Deprecated, use values_map instead