- added count with criteria
  - using jQuery to search