 
                 if changes
                     try
-                        @_inc_changefeed_count(opts.account_id, opts.project_id, changes.id)
+                        @_inc_changefeed_count(opts.account_id, opts.project_id, table, changes.id)
                     catch err
                         opts.cb?(err)
                         return

    TRACK CHANGEFEED COUNTS
    ###

    # Incremen a count of the number of changefeeds by a given client so we can cap it.
    _inc_changefeed_count: (account_id, project_id, changefeed_id) =>
        client_name = "#{account_id}-#{project_id}"
        cnt = @_user_get_changefeed_counts ?= {}
        ids = @_user_get_changefeed_id_to_user ?= {}

                        if value[0] == '-'
                            value = value.slice(1) + " DESC "
                        r.order_by = value
                    when 'heartbeat'
                        # not implemented
                        @_dbg("_query_parse_options")("TODO/WARNING -- ignoring heartbeat option!")
                    when 'delete'
                        # ignore delete here - is parsed elsewhere
                    else
                        r.err = "unknown option '#{name}'"
        return r
