On the order of the group of a planar map