public function countPersonFunctionI18ns(Criteria $criteria = null, $distinct = false, ConnectionInterface $con = null)
    {
        $partial = $this->collPersonFunctionI18nsPartial && !$this->isNew();
        if (null === $this->collPersonFunctionI18ns || null !== $criteria || $partial) {
            if ($this->isNew() && null === $this->collPersonFunctionI18ns) {
                return 0;
            }

            if ($partial && !$criteria) {
                return count($this->getPersonFunctionI18ns());
            }

            $query = ChildPersonFunctionI18nQuery::create(null, $criteria);
            if ($distinct) {
                $query->distinct();
            }

            return $query
                ->filterByPersonFunction($this)
                ->count($con);
        }

        return count($this->collPersonFunctionI18ns);
    }