Removed GetAll function and added PageCount.