app/Statistics/Repository/FamilyRepository.php
public function totalChildren(): string
    {
        $total = (int) DB::table('families')
            ->where('f_file', '=', $this->tree->id())
            ->sum('f_numchil');

        return I18N::number($total);
    }
public function totalChildren(): string
    {
        $total = (int) DB::table('families')
            ->where('f_file', '=', $this->tree->id())
            ->sum('f_numchil');

        return I18N::number($total);
    }
public function totalChildren ( ) : string { $ total = ( int ) DB :: table ( 'families' ) -> where ( 'f_file' , '=' , $ this -> tree -> id ( ) ) -> sum ( 'f_numchil' ) ; return I18N :: number ( $ total ) ; }
Count the total children.

@return string
Count the total children .