Yes, this is exactly what I want but here with a slight difference. I know that the result will have some negative values, so I want to subtract from the last value to the first one. Means 0002E03D - 0002DECE. With this, I am able to find out exactly the value which I want.
I already found out the address range and yes this is the one of the example of one of my function address range. Instead of checking manually and hence time-consuming, I want to create an exe file in which I just enter the address range (as a user) and it will tell the exact segmentation usage bytes (367 in dec in this case).