Added support for cascading support
Added counting to data access