Every single DAW has some way for you to tap in your tempo (which is just the rate at which every beat occurs every sixty seconds - hence Beat Per Minute), so before you start taking your musical idea down you should find that and tap out the 4/4 you referred to. If you're humming the tune and tapping your feet in time, every four taps is one bar - just tap that into the tempo selector, adjust it if you feel like you need to, and go from there!
A good way to help you learn tempo is to listen to the songs you like and try and determine the BPM/Tempo (the terms are interchangeable) using the tempo selector in your DAW. Then, try to recreate the kick & snare pattern and the basic chords or melody.
While you're at it, here's a good lesson in tempo that might not seem obvious at first: Put your BPM at 70, and do a regular kick on the 1 & 3, snare on the 2 & 4 pattern. Listen to that on loop a few times to get used to how it feels. Then up the tempo to 140, remove the snares on the 2 and 4 and replace the kick on the 3 with your snare. Listen to that loop again. Notice anything?