The practice likely originates from Jewish prayer beads. Not pagan.
Praying to Mary and making her into a Demi goddess originates from paganism