refactor metric helper
take into consideration new calculation of view ops