Return total result count for text search queries

@jimabramson 

Use ?w=0 to ignore whitespace