Resizeable array counter