Use `where` statement when getting count.