Question
How to get maxItems dynamically to use in SearchThingsByTemplate method
I am using below code to get all things data .
var params = {
maxItems: 700000,
nameMask: undefined,
query: undefined,
thingTemplate: 'tempalteName',
tags: 'tagname'
};
var result = Resources["SearchFunctions"].SearchThingsByTemplate(params);
Instead of 700000 as hardcoding. is there any function which will give me available thing count which implemented the said thing template.

