How to know how many times a button is clicked in pyqt ? where ui is prepared in qt-designer and imported into python as .ui file.
Example:
self.submit.clicked.connect(self.submit_application)
and in
def submit_application:
how to know that submit.clicked has happened for n number of times ?