There are some elephants and ants in a room. The number of elephants is 7 times and 5 less as that of ants. The total number of legs of ants is 574 less than that of elephants. How many elephant(s) is / are there? (An ant has six legs).​