Script to count photoshop layers