Added functions for getting size info

These are simply convenience functions.