Actually use the passed-in executor for unused count

Use the passed in executor for getUnusedCount so that the work is
actually handled on the main executor.

Bug: 231931350
Test: bug repro steps
Change-Id: I7c97e1e6d55457662920a3a15a5605324dd7963f
1 file changed