Sql Server Count Based On Condition - Sql Select Statement With Count Function Digitalocean