fix(rest): always execute count on hal list in filter

- count is the number of entities matching the extended filter
  without pagination