I don't understand your question about frames vs. seconds.
You can either sequence copies of your precomposition over and over to loop it or you can use a loopOut() expression on the Time Remapping value (you will also have to extend the layer).
I highly recommend going through these resources: Getting started with After Effects That set covers all the questions you've had so far and probably many others you didn't know you had.
As Szalam said, pre-compose, time remap, and the use a loopOut() expression.
Here's the steps in detail.
First make sure you comp is exactly the right length to make a perfect loop. This means the last frame of the comp must perfectly line up with the first frame of the comp. You can test the loop by doing a RAM preview with the Loop option enabled in the Preview Panel. When your loop is perfect it's time to pre-compose. Make sure you move all attributes to the new comp.
Now you must change the duration of your original comp to allow time for the loop to run. Now enable time remapping. You'll see two keyframes, one at the start and one at the end. If you move to the end keyframe by pressing the K key you'll see that there is no image. Use the page up key to move back one frame and manually set a new keyframe. Delete the last keyframe now. Pressing the J and K key should now show you the first and last visible frame. Now extent the out point of the pre-comp by going to the last frame of the composition, select the pre-comp layer and then press Alt/Option + ] to set a new out point. Now hold down the Alt/Option key and click on the stopwatch for Time Remapping and type in loopOut() and your'e done. You can also use loopOut("cycle"), cycle is the default, or type in loopOut("pingpong") which will make the comp play frontwards then backwards, then frontwards. There are also some other properties you can include in the brackets but let's not get into that now.
There you go. EZ as pie once you know what you are doing.