data object doesn't have length. Hardcoded getTemplates operation.