I need to count how many times I executed a Pyhthon script in QGIS and I would like to do so by using a project variable as counter. However, I can only create them as string, thus I can't perform mathematical operations with them (count = count + 1).
Is it possible to change their type to integer or to create a counter using pygqis?