principles of counting examples