How to measure productivity and avoid focusing on vanity metrics