If you are finding it difficult to hear the number of beats in a bar, then listen to lots of examples of the same time signature. They are grouped together below. Clap along with the pulse and make a louder clap on the first beat of each bar - you will know beforehand the time signature so you will already know when the louder beat is coming.