code: func (ra *RegistrationAuthorityImpl) checkNewOrdersPerAccountLimit(ctx context.Context, acctID int64) error {
  	limit := ra.rlPolicies.NewOrdersPerAccount()
  	if !limit.Enabled() {
  		return nil
  	}
  	latest := ra.clk.Now()
  	earliest := latest.Add(-limit.Window.Duration)
  	count, err := ra.SA.CountOrders(ctx, acctID, earliest, latest)
  	if err != nil {
  		return err
  	}
  	// There is no meaningful override key to use for this rate limit
  	noKey := ""
  	if count >= limit.GetThreshold(noKey, acctID) {
  		ra.newOrderByRegIDStats.Inc("Exceeded", 1)
  		return berrors.RateLimitError("too many new orders recently")
  	}
  	ra.newOrderByRegIDStats.Inc("Pass", 1)
  	return nil
  }
docs: // checkNewOrdersPerAccountLimit enforces the rlPolicies `NewOrdersPerAccount`
  // rate limit. This rate limit ensures a client can not create more than the
  // specified threshold of new orders within the specified time window.