Minor refactoring to search_count/scopes fix
Minor refactoring to search_count/scopes fix

agibralter/thinking-sphinx,dhh/thinking-sphinx,pierrevalade/thinking-sphinx,fxposter/thinking-sphinx,Napolskih/thinking-sphinx