Counting cubic