Implement operation counting through loopy
It turns out that our current way of counting operations is only valid if there is no CSE opportunities for the compiler. Otherwise, numbers become plain bull shit. Loopy on the other hand can provide operation counts based on optimal CSE, which we could use instead.