How to use user.followers_count in my code?


I am new to the Twitter API but I am trying to create an application that will search for Twitter users when the user of my application will use a search box. When the search is done I should have only 5 tweets / retweets in my results. After the 5 results, I would like to display the users follower count and friend count, using the user.followers_count and user.friends_count. Again, because I am new and I am trying to figure this out, I am looking to the professionals to see exactly how do I use these in my code? Yes, I will be using Ajax and JSON / JSONP in my application.