The salaries to be taken into consideration when calculating the ceiling provided for in the first paragraph of Article L. 3314-8 are the total gross salaries paid to all employees of the company or of one or more establishments, depending on the scope of the company agreement.