Don’t you have a tab on your trading platform that shows realized gains? It also shows the number of shares traded of that stock.