@Override
    public long getWorkflowCount(String query, String freeText) {
        return count(query, freeText, WORKFLOW_DOC_TYPE);
    }
Initializes the indexes templates task_log, message and event, and mappings.
es6-persistence/src/main/java/com/netflix/conductor/es6/dao/index/ElasticSearchDAOV6.java