Determination of oil and gas in place: conventional and unconventional reservoirs