Add statistics for metadata message.