There is no hard cap on feats, it is determined by your ability score and your race/class.