Formula For Fundamental Counting Principle