[bugfix] map type returned number of keys as sequence length. This is wrong. A map is a single item and should thus return a sequence length of 1.