And surely the amount of water is inconsequential, why can't we just use grams of actual coffee? Then we don't have to worry about how many espressos are in a 10oz mug. (Nevermind what that person's considering a standard dose for the espresso!)
By comparison, the same 18g brewed using a pour over method should yield an 8oz cup of coffee with … likely around 170mg of caffeine.
Check out this James Hoffmann video specifically on this topic: https://youtube.com/watch?v=etnMr8oUSDo