simple queues for traffic counting

I’d like to count wan traffic for certain IPs on the LAN. Apparently one way to do this is to send this traffic to queues and then use router OS’ graphing tool to gather and display statistics.

My question is how to set this up when I already use queues for QOS:

/queue type 
    add name=pcq-download kind=pcq pcq-rate=128k pcq-burst-rate=256k pcq-burst-threshold=150k pcq-burst-time=10s pcq-classifier=dst-address

/queue tree
    add limit-at=500M max-limit=500M name=ALL-IN  parent=global-in  priority=1
        add name=1_voip_down packet-mark=voip     parent=ALL-IN  priority=1
        add name=1_small     packet-mark=small    parent=ALL-IN  priority=1
        add name=2_udp100    packet-mark=udp-100  parent=ALL-IN  priority=2
        add name=2_express   packet-mark=express  parent=ALL-IN  priority=2
        add name=3_video     packet-mark=video    parent=ALL-IN  priority=3
        add name=4_priority  packet-mark=priority parent=ALL-IN  priority=4
        add name=5_other     packet-mark=other    parent=ALL-IN  priority=5
        add name=6_dmz       packet-mark=dmz      parent=ALL-IN  priority=6
        add name=7_surfing-low-speed   packet-mark=surfing  parent=ALL-IN  disabled=yes priority=7 queue=pcq-download
        add name=7_surfing-high-speed  packet-mark=surfing  parent=ALL-IN  disabled=no  priority=7

    add limit-at=500M max-limit=500M name=ALL-OUT parent=global-out priority=1
        add name=1_voip_up   packet-mark=voip     parent=ALL-OUT priority=1

It looks to me like I need to setup a separate queue tree for traffic counting. How can I do this without interfering with the QOS tree / pcq-download queue? Or - is there a better approach to achieve the same?

Each queue provides different values for monitoring over SNMP.
/queue tree print oid or /queue simple print oid
provides you with options available for monitoring and traffic counting.

Thank you for your answer. I understand that I can use queues for traffic counting.

My problem is that I already have set up a queue tree for QOS based on type of traffic: I mark e.g. voip or small packets and give this priority.

The traffic counting bins according different criteria: not type of traffic but IP ranges or MAC addresses. The straightforward solution would be to just set up a second tree binning traffic according to these criteria. But now my packets end up in two different trees - which makes no sense.

My question is - how can I “merge” these two trees so that all packets are binned according to traffic type (for QOS) and according to IP range (for counting)?

Is it possible to do this in the router or do I need an external program for this (which I know how to do, but would prefer if I don’t need a separate boxes - which go down on their own whim).

Many thanks!