int size(map[&K, &V] M)
import Map;
M
rascal>import Map; ok rascal>size(("apple": 1, "pear": 2, "orange": 3)); int: 3