Can you confirm this requirement?
if so have a look here:
whenever an update is to be done on a subset, then filter before update or atleast keep the processing cost as low as possible.
- when running a statement twice, also it is comsuming processing effort twice
When using the Count > 0 it has no chance to stop when the first was found and checks all. We should rewrite to an Any()
Als we have a chance to rewrite it to a FirstOrDefault and will execute it only 1 time