Added min/max/count limit checks to array validator.