Below script is for finding the row counts of all partitions of a table in Oracle.