Sort:  

The payout from the comment is the only inaccuracy I am still trying to tackle

can you calculate the payout of an individual post? then just calculate the posts from user, because comments counts as posts too.

Of course i will do that. This is just the beginning.