def get_prompt_count(self):
        return self._IP.outputcache.prompt_count
Returns the prompt number.
dataset/ETHPy150Open ipython/ipython-py3k/IPython/deathrow/gui/wx/ipshell_nonblocking.py/NonBlockingIPShell.get_prompt_count