public function countMethodAnnotations()
    {
        $counter = 0;
        foreach ($this->methodAnnotations as $method) {
            if (count($method) == 0) {
                return 0;
            }
            foreach ($method as $annotationToken) {
                $counter = $counter + count($annotationToken);
            }
        }
        return $counter;
    }