Up to 8 per day (16 mg) is considered the maximum daily dose. It is reasonably safe at much higher doses, but there is no added positive effect beyond the 16mg, and side effects increase. I have read of no liver damaging effects, but if you have liver damage, it can build up in the body faster and cause side effects faster.
I personally took the maximum dose for 4 years post op, then gradually reduced it over time. I currently take only one daily. So, over 23 years I have safely taken Imodium (loperamide) daily without any issues. I even developed fatty liver disease during that time (related to IBD, not drugs), and have been able to continue Imodium.
But, like Spooky said, this is a good thing to discuss with your doctor.
Jan