. add count and pagination
. add pager marco
. make search support pagination