Way to get quantity from time and sales

Hi,

I’m using websocket and the last_traded_quantity is mapped with market depth whereas i am looking for a way to get the traded quantity from time and sales). Is there any way to do it using websocket or historical data?

Thanks.