get_hiat_no function

get no. of hiatuses