Yes it counts as daytrading. Your broker should block your account from trading for 30 days or you deposite additional fund to your account to bring it above $25,000. You can exit open postions but you can't open new positions during the period.
Check "Pattern Day Trader" for definition and...