Thanks Kevin, thanks for your reply..
I was wondering how can I use the information in BAM file about each read to count reads within one feature following the principle used in modes of summarizeoverlaps. For example, Intersection Strict counts read if it entirely fall within the region then I may thin of using the start position and the length(col 9 inn BAM/SAM). The other two cases a bit complicated that's why I posted this...