I am trying to find the total number of genomes available in the genome database on NCBI using E-utilities. I see just from using the website that there are 39,625 when browsing by organism. I'd just like to pull this number using E-utilities. I've used the following code in Mac Terminal, but it returned only 6314 results. curl "https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=genome&term=overview&rettype=count"
Any ideas how I can edit that code to return the full list of genome IDs?