Add stack trace count