Section 15. Such person may recover, in contract in the superior court from the person who owns or occupies the mill when the action is brought, the whole amount due and unpaid for the three years last preceding, and costs, although the amount recovered is less than one hundred dollars.