There is no mention about the number /frequency of mastrubation in medical science as mastrubation itself is considered normal thing. If it become so much that it interfere with other important activities of life (study, work) then one has to reduce the frequency. I hope it answers your query
Next Steps
If it doesn't help you, consult an psychiatrist /sexologist near you or online for details.