add numRows parameter to head api

- Allow user to fetch more than maximum rows (default 1000) in Shark.