How many cracks at the apple is this guy going to get?

This one was overheard in a conversation between a lawyer and the judge in a court proceeding.   This is a nice congruent conflation of “a second bite of the apple” and “cracks at the bat”, both meaning additional opportunities.  “Take a crack at (something)” (an attempt) is probably also in the mix.  Perhaps the speaker was thinking of William Tell or maybe a pinata party.  Kudos to Matin Pietrucha who heard this one and sent it in.