Farhan has three pieces of rope with lengths of 140 cm, 168 cm and 210 cm. he wishes to cut all the three pieces of ropes into smaller pieces of equal length such that there is no leftover rope. How many smaller pieces of rope can he get altogether?