Solution needed for counting pulse inputs WITHOUT using Intterupts

FYI I have tried many solutions

Why not tell us which ones you have tried? And post the code (in code tags). Then we won't waste our time telling you about stuff you've already tried.

Pete