code: function() {
              let resultLangCount =  query('select count(*) as count from target_language');
              let resultResLvl3Count = query('select count(*) as count from resource where checking_level >= 3');
              let resultResCount = query('select count(*) as count from resource');
              let resultProjCount = query('select count(*) as count from (select id from project group by slug)');
              return {
                  resource_count_level3:resultResLvl3Count[0]['count'],
                  resource_count:resultResCount[0]['count'],
                  target_language_count:resultLangCount[0]['count'],
                  project_count:resultProjCount[0]['count']
              };
          }
docs: Returns a map of metrics about content in the index