in reply to Counting recurring characters within a list of strings.
$g_num=(join '',@array)=~tr/G/G/; [download]