Counting rational points of bounded non-anticanonical height