While the definition of an active device is somewhat murky,
Apple only counts the devices which actively use iCloud or have accessed App Store recently.
With 1.4 billion devices in the wild, of which 900 million are iPhones, we can infer that there are now about half a billion iPads, iPod touches, Macs, Apple TVs and Apple Watches in active use.