--- title: "count keys in map()" slug: "basic-count-keys-in-map" updated: 2025-11-13T09:16:56Z published: 2025-11-14T02:46:22Z canonical: "docs.lobstersoftware.com/basic-count-keys-in-map" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # count keys in map() Gibt die Anzahl der Elemente in der Map **a** zurück. ## Parameter | Parameter | Beschreibung | | --- | --- | | a | (optional) Name der Map. Default: *default* | ## Beispiele Gegeben sei die Map *myMap* mit drei Elementen. | Parameter a | Ergebnis | | --- | --- | | myMap | 3 | | myOtherMap | 0 |