Store the value in an int variable. Then increment the variable each time you add an item to the array and decrement it each time you "delete" an item.
Type: Posts; User: Junky
Store the value in an int variable. Then increment the variable each time you add an item to the array and decrement it each time you "delete" an item.