Update NCIdlCompilerBase.scala
diff --git a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/compiler/NCIdlCompilerBase.scala b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/compiler/NCIdlCompilerBase.scala
index 8969121..c4e888a 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/compiler/NCIdlCompilerBase.scala
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/compiler/NCIdlCompilerBase.scala
@@ -1041,6 +1041,8 @@
 
                 if (isList(v))
                     Z(asList(v).size(), n)
+                else if (isMap(v))
+                    Z(asMap(v).size(), n)
                 else if (isStr(v))
                     Z(asStr(v).length, n)
                 else
@@ -1056,6 +1058,8 @@
 
                 if (isList(v))
                     Z(asList(v).isEmpty == empty, n)
+                else if (isMap(v))
+                    Z(asMap(v).isEmpty == empty, n)
                 else if (isStr(v))
                     Z(asStr(v).isEmpty == empty, n)
                 else