If this is to be based on data, rather than a fully identified joint distribution, waa simple approach is to condition on is observed values of B and the interest is if the observed counts of A tends to be higher when the count of B is higher.
As gung suggests below, if you take daily rainfall and daily hail as Bernoulli (rained or not, hailed or not, for each day), then you can deal with probability rather than counts, and there are a variety of ways to model that. His suggestions in comments are a good way of looking at the problem (quite a bit more sophisticated than my suggestions here), and would get you closer to conditioning on estimated underlying probability per unit time rather than directly observed rate per unit time.