I am not a sprinkler designer, and only periodically fire up my hydraulic software, but yes, there is definitely a limit to the number of heads allowed on a branchline.
Use the skew formula to determine this. I have not checked for many years, but it should be in NFPA 13. Its 1.4 x square root of the remote area. Note: I believe NFPA is 1.4, and FM notes 1.2, but i will let you confirm that. For example if you have a 2,000 sq ft remote area, using this formula gives you 54 ft. If you are using 10 ft line spacing, you therefore can have a max of 5 heads per line.
For ESFR, you are limited to 4 heads per line. For the typical 12 head ESFR design area, it is therefore 4 heads on 3 lines.
This is important. Fires dont grow in one dimension. These rules make sure designers are applying remote areas that most closely resemble a someshat cirucular fire growth pattern.