bring back erroneously deleted method getAttempsCount()