Added functionality for counting elements using iterator in a testing setting to compare iteration on memmap version against PyTables version