technical fix for compiler issue on gcc490.
return standard compliant type (size_t) for size() method
Merged apFixIssue-gcc490 from repository apfeiffer1
fix follow-up issues of move to size_t
Merge pull request #3308 from apfeiffer1/apFixIssue-gcc490

DB -- Technical fix for compiler issue on gcc490.