A fenced, rectangular meadow has dimensions $24$ m by $52$ m. A mathematical farmer has $2019$ m of fence that he wants to use to fence the outside of the field and to partition the field into identical square plots with sides parallel to the edges of the field. Determine the largest possible number of square plots into which she can divide the field and how much fencing would be left over.
For the part of field already fenced, I can partition it into 4 by 4 squares as gcd(24, 52)=4. And then I can partition the 4 by 4 squares into smaller squares. But I don't know how much fence I should use to fence the outside of the field.