[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-26 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eSIZE\u003c/code\u003e function counts the number of elements within an array in Application Integration.\u003c/p\u003e\n"],["\u003cp\u003eSupported data types for the \u003ccode\u003eSIZE\u003c/code\u003e function include boolean, double, integer, JSON, and string arrays.\u003c/p\u003e\n"],["\u003cp\u003eYou can use \u003ccode\u003eSIZE()\u003c/code\u003e to determine the number of elements in a string or integer array, as demonstrated in the provided examples.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSIZE\u003c/code\u003e function does not take any input parameters.\u003c/p\u003e\n"]]],[],null,["# SIZE function\n\nSee the [supported connectors](/integration-connectors/docs/connector-reference-overview) for Application Integration.\n\nSIZE function\n=============\n\n`SIZE` function\n---------------\n\nSupported data type\n-------------------\n\n\nThe `SIZE` function supports the following data types:\n\n- Boolean array\n- Double array\n- Integer array\n- JSON\n- String array\n\nExample 1: Find the size of a string array\n------------------------------------------\n\n\n**Sample data** : `$var1$ = {\"Hello\", \"Apigee\", \"Integrations\"}`\n\n\n**Usage** : `$var1$.SIZE()`\nCount the number of elements in var1.\n\n\n**Output** : `3`\n\nExample 2: Find the size of an integer array\n--------------------------------------------\n\n\n**Sample data** : `$var1$ = {5,8,2,1,7}`\n\n\n**Usage** : `$var1$.SIZE()`\nCount the number of elements in var1.\n\n\n**Output** : `5`\n\nRecommendation\n--------------\n\n- Learn how to add and configure a [Data Mapping task](/application-integration/docs/configure-data-mapping-task)"]]