(part 1 answer):in token bucket concept,packet will be sent to the network,depend upon the number of token available in the bucket.
if no token available in the bucket then sender has to wait for the token.
(part 2 answer):number of token produced is equal to the number of packets sent by the sender.