I am looking for a subquery to get the data from sales and the count on status of the project Status as a separate column open and close where the total count of the ope