Counts integer partitions. To count all the partitions of an int $n$ : partition n. To count all $k$ sized partitions of $n$ : partition n k.