I'm assuming you want to add something to postbit - you can just use the user ranks feature for that.
Also, the "posts" number is formatted (e.g. 1,000 instead of 1000) and will fail in number comparisons.
how do i get the number raw instead? without format to use them in the template, and what im trying to do, is to generate the ranks based on the members gender, for example, when the male users reaches 500 posts their rank becomes "prince" and when the female users reaches 500 posts their rank become "princess" and on untill they reach king/queen, emperor/emperess