class Test shared def main t1 = {'a': 1, 'b':2, 'c':3} t2 = { 1: 'aoeu', 2: 'asdf' } t3 = { : } assert t1.count==3 assert t2.count==2 assert t3.count==0