ArrayList count update

Update ArrayList count when calling deleteRange and subArrayList methods