Fixed distribution count. Resolves #325.