The issue of how many items are in a WikiLeaks release should be a straightforward question. When it comes to the number of Podesta emails, however, the answer depends on who you ask, or what resource you consult. WikiLeaks themselves provide four different numbers, ranging from a little over 50,000 to a little under 60,000.

Unlike the issues with the DNC emails, this isn’t recent, but it has been neglected and ignored – both by the press and by WikiLeaks. I first noticed the inconsistency between the number of emails that would be displayed through a blank search and the total number of emails during the first week of releases. On October 12, 2016 I privately raised the issue with WikiLeaks and was told that it was a temporary indexing issue that WikiLeaks was aware of and that the search interface would catch up.

Assured that the issue was temporary, I forgot about it until a project recently had me attempt to gather all of the Podesta emails into one place. The obvious starting point for this was what WikiLeaks referred to as the “entire raw dataset for all published Podesta Emails.” The link, shown on WikiLeaks’ search pages for the Podesta Emails, leads to a compressed .mbox file named podesta-emails.mbox-2016-11-06.gz. A search of reddit, Twitter and the Wayback Machine indicate that November 6, 2016 was, in fact, the first day the file was available. Imported into Thunderbird, the .mbox appears to contain 50,866 emails.

The “entire raw dataset” .mbox provides the lowest count of emails, though this may be explained by its release being followed by several more publications of Podesta emails. It’s unclear why WikiLeaks never updated the file or changed the description of it. One intriguing possibility for why this happened depends entirely on how one parses WikiLeaks’ words and what exactly was meant by “well over.”

When WikiLeaks first began publishing the Podesta emails, they described the pending publication as being “well over 50000 emails.” If one is inclined to believe that “well over” referred to something in the 800 email range, then it could mean that WikiLeaks originally planned to complete the publication of emails on or about November 6, 2016 and that the remaining emails had gotten lost or were sent separately. While worth considering, this possibility seems less likely than WikiLeaks meaning something in the 7,000-9,000 email range. While “nearly 60,000” might have sounded better and been a more natural choice of words in that case, the choice would be consistent with the organization’s general desire to keep their cards close to their chest.

If the only discrepancy were the .mbox, which was published before all of the Podesta emails were out, the issue would be irrelevant and uninteresting. The WikiLeaks’ file server and directory hosting that .mbox file also has a listing of individual email files. This list shows 57,153 .eml files for the Podesta emails, with each file name corresponding to the WikiLeaks ID.

A blank search of the Podesta emails shows that there are 58,660 emails.

The range of Email IDs assigned by WikiLeaks, however, extends up to 59,258. A scrape of these .eml files turns up 70 duplicates (not counting the originals), for a total of 59,188 individual emails. For these numbers, duplicates were identified by duplicate .eml file names. A check of the contents confirms that they are identical. Unlike the .eml files described above, the file names for these do not correspond to the email IDs and begin at 00000001.eml rather than 1.eml.

At present, WikiLeaks’ own data gives us five different totals for the number of Podesta emails:

50,866 57,153 58,660 59,258 59,188

The two most authoritative answers to the question come from WikiLeaks and the Special Counsel’s office, and both indicate that the total exceeded 50,000. While WikiLeaks’ stated there were “well over 50,000” emails, the Special Counsel’s indictment simply said that “over 50,000 stolen documents were released.” Since “documents” can be construed to include both the emails and their various attachments, the SC’s total is even more vague and less definitive than WikiLeaks’.

Ultimately, he best answer to the question of how many Podesta emails there are appears to be 59,188. However, this assumes that there are no other duplicate emails that weren’t identified by duplicate file names. Even assuming there are no other duplicates, several questions remain: