Rely on ReadInterface contract for getSize().

The return type in the cache impl was fixed recently, therefore we can rely on the contract
Merge pull request #70 from staabm/patch-2

Rely on ReadInterface contract for getSize().