code: public function getCount(Parameters $parameters = null)
      {
          $options = [
              'headers' => [
                  'Accept' => 'application/json'
              ]
          ];
          $result = $this->execute('GET', static::RESOURCE_COUNT, $options);
  
          return $result->count;
      }
docs: Get count of process definitions
  
  @param \Ds\Component\Camunda\Query\ProcessDefinitionParameters $parameters
  @return integer