Now handling elements that have multiple types

Also implemented the Quantity, Age and Count types