The click only happens when the chain is moving in certain locations. If the gear is low it happens every rotation and if the gear is high it happens 2 or 3 times per rotation of the pedal.
I am trying to figure out if the chain is stretched or somthing is wrong with the cassette.
To explain this more I have uploaded a demostration video of how it sounds.
This happens on multiple gears at different locations on the chain. It happens more than once every turn of the pedal depending on the gear.
Update: measured chain for stretching and looks like no issues.
UPDATE: Fixed by adjusting the cable tension using rear barrel adjuster about half a turn.