The Count in action
NewMap = Count (inputmap) ;
Inputmap Legend
New Map Legend