anchor.diff:  do_query(Request, Opts) ->
       do_query(Request, undefined, Opts).
   
  -do_query(UserRequest, Acc, Opts) ->
  +do_query({UserRequest}, Acc, Opts) ->
       IsCount = proplists:get_value(<<"Select">>, UserRequest) =:= <<"COUNT">>,
       Accumulate = case IsCount of
                        true ->
  
positive.code:                          end
                   end,
  
      case retry(scan, UserRequest, Opts) of
          {ok, {Response}} ->
              Result = case IsCount of
                           true -> proplists:get_value(<<"Count">>, Response);
  
negative.code:                          end
                   end,
  
      case retry('query', {UserRequest}, Opts) of
          {ok, {Response}} ->
              Result = case IsCount of
                           true -> proplists:get_value(<<"Count">>, Response);
  