Fixed: transformers wouldn't work on PKs.
Fix accidental global.
Add some missing imports.
Fixed: count was never ignited.

Not sure how this used to work before since the WLRemoteActionTest expect count to be 5.