The logic in your query is way off. You are using the having clause to compare ClientID with a count… how do you expect that to work?
What you do want to do is to skip the group by and having clauses and use the in
operator instead in a condition like:
where ClientID not in (select ClientID from job)