ArcGIS API for JavaScript: Hosted/archive_count (FeatureServer)
Built using the ArcGIS API for JavaScript