# Count dynamo script runs

**URL:** <https://forum.dynamobim.com/t/count-dynamo-script-runs/84531>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [December 30, 2022, 5:18am UTC](https://forum.dynamobim.com/t/count-dynamo-script-runs/84531 "2022-12-30T05:18:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neel](https://avatars.discourse-cdn.com/v4/letter/n/f475e1/32.png) [@Neel](https://forum.dynamobim.com/u/Neel)\
**Post date:** [December 30, 2022, 5:18am UTC](https://forum.dynamobim.com/t/count-dynamo-script-runs/84531/1 "2022-12-30T05:18:05Z")

</div>

Hello,  
Is there a way to count the number of executions of my script, which is currently being run using Py-Revit and the data shapes package. I am planning to create a special tab containing my scripts, and it would be useful to have a count of script usage. Thank you for your help.

---

<div class="post-metadata">

**Author:** ![GavinNicholls](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gavinnicholls/32/190442_2.png) [@GavinNicholls](https://forum.dynamobim.com/u/GavinNicholls)\
**Post date:** [December 30, 2022, 10:12am UTC](https://forum.dynamobim.com/t/count-dynamo-script-runs/84531/2 "2022-12-30T10:12:59Z")

</div>

Yep. Assuming you’re not familiar with sql or databases, a really simple way is to write journal files to a server location using a python script. I use this approach at a large firm to track all dynamo and [pyrevit](https://discourse.pyrevitlabs.io/) script use and view in power BI.

[![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/9/d92c80b3ebfaccdeeb69a5c9cf111187d0404e37.jpeg "Tracking Dynamo script use! (revisted)") ](https://www.youtube.com/watch?v=3YFeIPCrsC4)

---

<div class="post-metadata">

**Author:** ![Neel](https://avatars.discourse-cdn.com/v4/letter/n/f475e1/32.png) [@Neel](https://forum.dynamobim.com/u/Neel)\
**Post date:** [January 16, 2023, 12:43pm UTC](https://forum.dynamobim.com/t/count-dynamo-script-runs/84531/3 "2023-01-16T12:43:22Z")

</div>

Hi Gavin,  
I have implemented it on my scripts and it’s really useful and easy. Thank you for sharing your knowledge. Now I can get which scripts are in high demand. I have been following your videos for a year now, don’t know how I missed this one.
