Added element count definition to CompundCreator

*Implementation of element definition to compound creator
*Clean up of code after removal of legacy compound creator tools