Arrangements for measuring electric power or power factor by using digital technique {adapted for special tariff measuring}