Sql Server Count Based On Condition - T Sql Is This Valid Sql Server Update Syntax Database