Where can I see my PDT count

I had a trade rejected due to PDT restrictions. I don’t quite understand the restrictions because I thought this was only for margin accounts, and I was making very small 1 share trades to test everything out. After 5 trades in a week all a small percentage of my balance I was unable to sell a trade.

So two questions…

  1. Where can I see know my current count so I can not do a buy if the sell will trigger PDT
  2. Why was my non margin trades being counted towards PDT?