Added $caseSensitive to count()