statistics.py: factor out _count() to extract statistic query results
statistics.py: factor out _count() to extract statistic query results

sophiejjj/debsources,zacchiro/debsources,devoxel/debsources,zacchiro/debsources,nonas/debian-qa,zacchiro/debsources,oorestisime/debsources,sophiejjj/debsources,clemux/debsources,vivekanand1101/debsources,zacchiro/debsources,matthieucan/debsources,matthieucan/debsources,vivekanand1101/debsources,sophiejjj/debsources,clemux/debsources,sophiejjj/debsources,clemux/debsources,devoxel/debsources,devoxel/debsources,oorestisime/debsources,oorestisime/debsources,oorestisime/debsources,Debian/debsources,Debian/debsources,clemux/debsources,nonas/debian-qa,devoxel/debsources,nonas/debian-qa,Debian/debsources,vivekanand1101/debsources,zacchiro/debsources,clemux/debsources,matthieucan/debsources,oorestisime/debsources,matthieucan/debsources,vivekanand1101/debsources,Debian/debsources,devoxel/debsources,nonas/debian-qa,matthieucan/debsources,sophiejjj/debsources,Debian/debsources,vivekanand1101/debsources