Don't pass select option to count SQL