It is very difficult to say how many stages the Camino de Santiago has as it depends on several factors. If you go by bike you will be able to cover longer distances than if you walk. It is usual to walk 20 to 30 kilometres a day and cycle 50 to 80 kilometres a day.
But you should know that the division of the stages does not only depend on your means of transport. As a general rule, all the stages begin and end in cities, towns or small villages that have services for pilgrims (hostels, hotels, restaurants, supermarkets, etc.).
In addition, the orography of the route also influences the length of the stages. In some routes we will cross mountain passes, mountain ranges, natural parks etc. that will make us travel longer distances to reach a village.
Generally all the stages are more or less delimited taking into account their difficulty and places to stay. But you should know that there is no pre-established rule that prevents you from doing more or less kilometres, it will depend on your physical condition.