Hierarchy level access and viewing in charts

How to view records hierarchy-wise in charts,
like if a parent creates 1 records and its child create one record in the particular module
now via login through parent we can see 2 records in record list, but how I can show 2 records number in a metric.