Counting statistics of a Bose-Einstein condensate in a double-well potential