Tech and policy counting (changes and Lua methods)