How many non-congruent right triangles with positive integer leg lengths have areas that are numerically equal to $3$ times their perimeters?

Let's think step by step and output the final answer within \boxed{}.
user