Try this query and let me know if this resolve your issue
‘ SELECT ID, COUNT(CASE WHEN [Status] = 'Good' THEN 1 END) AS Good, SUM(COUNT(*)) OVER () AS Total FROM TABLE WHERE ID IN ('ID1', 'ID2') GROUP BY ID; ’