Bug 890630 - Port FrameCounter to the compositor API. r=nical