def getFaxStatsCounters(self):
if not self.hasFax():<EOL><INDENT>return None<EOL><DEDENT>info_dict = {}<EOL>cmdresp = self.executeCommand('<STR_LIT>')<EOL>ctxt = '<STR_LIT>'<EOL>for section in cmdresp.strip().split('<STR_LIT>')[<NUM_LIT:1>:]:<EOL><INDENT>i = <NUM_LIT:0><EOL>for line in section.splitlines():<EOL><INDENT>mobj = re.match('<STR_LIT>', line)<EOL>if mobj:<EOL><INDENT>if ctxt not in info_dict:<EOL><INDENT>info_dict[ctxt] = {}<EOL><DEDENT>info_dict[ctxt][mobj.group(<NUM_LIT:1>).lower()] = int(mobj.group(<NUM_LIT:2>).lower())<EOL><DEDENT>elif i == <NUM_LIT:0>:<EOL><INDENT>ctxt = line.strip().lower()<EOL><DEDENT>i += <NUM_LIT:1>    <EOL><DEDENT><DEDENT>return info_dict<EOL>
Query Asterisk Manager Interface for Fax Stats.

        CLI Command - fax show stats

        @return: Dictionary of fax stats.