add metadata to api response header with num of entities found (ref: #459)
search: use api header metadata to replace the request @count (ref: #459)
Merge branch 'master' into issue-222-sass