Added metadata stats to UI