I highly doubt that their math was that simple. The article even mentions that the revenues reflect GAAP accounting standards. Also, 109 * $109k != $20m, so obviously their revenue numbers for July are not directly based on how many roadsters were actually shipped during that month.
The article is quoting two separate stats about Tesla's July: 1) They were profitable 2) They shipped 109 roadsters
The first is not directly and solely due to the second.