def get_failures(self, request: AxesHttpRequest, credentials: dict = None) -> int:
raise NotImplementedError('<STR_LIT>')<EOL>
Checks the number of failures associated to the given request and credentials.

This is a virtual method that needs an implementation in the handler subclass
if the ``settings.AXES_LOCK_OUT_AT_FAILURE`` flag is set to ``True``.