SELECT count(cast(payload["commits"] as string)) FROM github_events;