I want to let methodB control the calls to methodA, in a way that it unblocks the calls if count reaches the target, and then
methodB
methodA
count
target