                 @$el.html @template
                     limit_value: @container.limit
                     skip_value: @query_result.position
-                    execution_time: 12345 # ATN
-                    query: "query" # ATN
                     query_has_changed: args?.query_has_changed
                     show_more_data: has_more_data and not @container.state.cursor_timed_out
                     cursor_timed_out_template: (
                         @cursor_timed_out_template() if not @query_result.ended and @container.state.cursor_timed_out)
-                    execution_time_pretty: 12345 # ATN Utils.prettify_duration args.metadata.execution_time
-                    no_results: @query_result.ended and (
-                        @query_result.value is [] or @query_result.results is []) # ATN: move to QueryResult class
-                    num_results: 12345 # ATN
+                    execution_time_pretty: Utils.prettify_duration @container.driver_handler.total_duration
+                    no_results: @query_result.ended and @query_result.size() == 0
+                    num_results: @query_result.size()
                 @$('.execution_time').tooltip
                     for_dataexplorer: true
                     trigger: 'hover'

        template:
            Handlebars.templates['dataexplorer_result_profile-template']

        initialize: (args) =>
            ZeroClipboard.setDefaults
                moviePath: 'js/ZeroClipboard.swf'

        size: =>
            switch @type
                when 'value'
                    if @value instanceof Array
                        return @value.length
                    else
                        return 1
                when 'cursor'
                    return @results.length

