update request dependency
add total-count example, mess with typeOf method, add count method