"按行数支付" can be translated as "payment based on the number of lines" or "pay per line" in English. The former is more literal and emphasizes the basis of payment (number of lines), while the latter is more concise and commonly used in contexts where payment is made for each line of work or text. Choose the one that best fits your specific context.