metrics_detect function

Detect dropped observations and columns