If you buy stock in one trade and sell the position in three trades, that is generally considered as one day trade if all trades are done on the same day. https://en.wikipedia.org/wiki/Pattern_day_trader
Round-trips is what counts. But that is from Wikipedia so I wouldn't 100% rely on it. What you really should do is call your broker and ask them. I am pretty sure that your situation would be considered one daytrade since you only bought it once. But it is always safe to go right to the source and ask them.
Register for free to join our community of investors and share your ideas. You will also get access to streaming quotes, interactive charts, trades, portfolio, live options flow and more tools.