A single patient may receive multiple prescriptions per year, so the number of patients will be lower than the number of prescriptions. According to this source the number of patients taking metformin is 17 million.
Patients will normally get multiple scripts per year. A typical script might only provide one month's worth of medication, perhaps with 3 to 6 "repeats" before needing a new script.