Possible battery, starter or connections/cables in between
the engine will turn over but sometimes wont start. it also sometimes dies while its idling. whats going on
Bad battery, starting motor or both.
Sounds like the starter relay is going out.
The number of clicks you hear when pedaling a bike can vary depending on the condition of the bike's gears and chain. It is not a standard or fixed number.
Could be the Starter or the Transmission
If the battery is bad, you may only hear clicks. It could be the starter, but I would check the charge on the battery first.
sounds like your in the market for a starter.
get in under the truck and unhook the transmission link and move it towards the back two clicks
pOSSSIBLE RELAY PROBLEM
This sounds like your battery.
Try changing the starter.
Starter solenoid? Battery not fully charged?