Added messages to inform the number of 'end joint'