Write SQL query to solve given problem: How many vendors does Adventure Works still work with but are not preferable?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT COUNT(BusinessEntityID) FROM Vendor WHERE PreferredVendorStatus = 0 AND ActiveFlag = 1