Changed count logic for results
Implement orWhere condition