#124856# correct return number of accessible actions for dropdown box

Patch By: hanya
Review By: jsc