Faster itemCount and getMultipleItems for barrels