Array Element Counter
Count occurrences of specific elements in arrays with support for multiple counting modes and statistical analysis
API Documentation
Request Endpoint
POST /en/api/tools/array-element-counter
Request Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| arrayInput | textarea | Yes | - |
| countMode | select | Yes | - |
| targetElements | text | No | - |
| delimiter | select | Yes | - |
| customDelimiter | text | No | - |
| sortBy | select | Yes | - |
| outputFormat | select | Yes | - |
| caseSensitive | checkbox | No | - |
| includeStats | checkbox | No | - |
Response Format
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}
Text:
Text
AI MCP Documentation
Add this tool to your MCP server configuration:
{
"mcpServers": {
"elysiatools-array-element-counter": {
"name": "array-element-counter",
"description": "Count occurrences of specific elements in arrays with support for multiple counting modes and statistical analysis",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=array-element-counter",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}
You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.
If you encounter any issues, please contact us at [email protected]