Getting the number of BAT accesses