Script Download: 22262.zip
http://gallery.technet.microsoft.com/Count-the-number-of-users-1ebb65c3
This script will count the numbers of Lync users for each Dial Plan.
This script is to help Lync Administrators Check the numbers of Lync users for each Dial Plan via PowerShell.
You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery