app/Statistics/Repository/FamilyRepository.php
public function totalMarriedMales(): string
    {
        $n = (int) DB::table('families')
            ->where('f_file', '=', $this->tree->id())
            ->where('f_gedcom', 'LIKE', "%\n1 MARR%")
            ->distinct()
            ->count('f_husb');

        return I18N::number($n);
    }
public function totalMarriedMales(): string
    {
        $n = (int) DB::table('families')
            ->where('f_file', '=', $this->tree->id())
            ->where('f_gedcom', 'LIKE', "%\n1 MARR%")
            ->distinct()
            ->count('f_husb');

        return I18N::number($n);
    }
public function totalMarriedMales ( ) : string { $ n = ( int ) DB :: table ( 'families' ) -> where ( 'f_file' , '=' , $ this -> tree -> id ( ) ) -> where ( 'f_gedcom' , 'LIKE' , "%\n1 MARR%" ) -> distinct ( ) -> count ( 'f_husb' ) ; return I18N :: number ( $ n ) ; }
Number of husbands.

@return string
Number of husbands .