The number of beats in a bar or measure is defined by the time signature you chose.
[ ♩ ♩ ♩ ♩ ]: 4 beats in a bar (time signature is 4/4)