Restore (still used) getItemUsageIndex in DirectSqlStore

we still need this code in working, deployable condition...

Bug: 72335
Change-Id: I02f82895465bd4a87f8e61d6d88608361e12ac3e
Merge "Restore (still used) getItemUsageIndex in DirectSqlStore"