Lick Memory
How long does it take for a lick to get into your longterm memory? This is a combination of the two things...
1) Repetitions - You need to play it many times... minimum of 50... most likely 200.
2) Context - In order to remember something you need to associate it with other things in your memory. This is why placing the lick into the Chorus Form conext (AAA, AAA with fills, AAB, AAB with Fills, A B/A C, etc.) is so important. Our memories are associative, and therefore the more you place the lick into the context of what we normally do in phrasing, the more success of it being there for you when improvising.