In a geometry class, Maya was given a task to divide a line segment into smaller segments. Initially, the line segment was 15 cm long. She decided to cut it into equal parts each 5 cm long. How many segments did Maya get in the end?