[amelia] error in how AMELIA counts number of categories for nominal variables