dividing the total mAh of the batteries by the load of the circuit
Not quite that simple - a D cell could be rated at 14Ah, but try that as 14 amps for one hour.
Quite true. mAh ratings are often a 'marketing' specification. Unless the spec is accompanied with discharge rate and temperature one should take them with a grain of salt.