def _summary_matching_gos(prt, pattern, matching_gos, all_gos):
        """Print summary for get_matching_gos."""
        msg = 'Found {N} GO(s) out of {M} matching pattern("{P}")\n'
        num_gos = len(matching_gos)
        num_all = len(all_gos)
        prt.write(msg.format(N=num_gos, M=num_all, P=pattern))
Print summary for get_matching_gos.