fix #181
add support for override minCount and maxCount on array fields