Fixed an error introduced when count executed scripts