How Do you count ur cycle

Like how do u know if ur cycle is 28 days or 31??