<commit_before>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.Support.V7.Widget;
using csfm_android.Api.Model;
using csfm_android.Ui.Holders;
using csfm_android.Ui.Utils;
using Square.Picasso;

namespace csfm_android.Ui.Adapters
{
    class MyMatchAdapter : RecyclerView.Adapter
    {
        private List<User> users;

        private Context context;

        public MyMatchAdapter(Context context, List<User> users)
        {
            this.context = context;
            this.users = users;
        }

        public override int ItemCount
        {
            get
            {
                return users.Count;
            }
        }

        public override void OnBindViewHolder(RecyclerView.ViewHolder holder, int position)
        {
            if (position < ItemCount)
            {
                User user = users[position];

                if (user != null)
                {
                    MyMatchHolder matchHolder = holder as MyMatchHolder;

                    matchHolder.Username.Text = user.Username;
                    matchHolder.Email.Text = user.Email;

                    Picasso.With(context)
                       .Load(user.Photo)
                       .Transform(new CircleTransform())
                       .Into(matchHolder.UserPicture);
                }
            }
        }
<commit_msg>Bug fix ItemCount MyMatch<commit_after>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.Support.V7.Widget;
using csfm_android.Api.Model;
using csfm_android.Ui.Holders;
using csfm_android.Ui.Utils;
using Square.Picasso;

namespace csfm_android.Ui.Adapters
{
    class MyMatchAdapter : RecyclerView.Adapter
    {
        private List<User> users;

        private Context context;

        public MyMatchAdapter(Context context, List<User> users)
        {
            this.context = context;
            this.users = users;
        }

        public override int ItemCount
        {
            get
            {
                return users != null ? users.Count : 0;
            }
        }

        public override void OnBindViewHolder(RecyclerView.ViewHolder holder, int position)
        {
            if (position < ItemCount)
            {
                User user = users[position];

                if (user != null)
                {
                    MyMatchHolder matchHolder = holder as MyMatchHolder;

                    matchHolder.Username.Text = user.Username;
                    matchHolder.Email.Text = user.Email;

                    Picasso.With(context)
                       .Load(user.Photo)
                       .Transform(new CircleTransform())
                       .Into(matchHolder.UserPicture);
                }
            }
        }

{'fraction_non_alphanumeric': 0.07732293697205977, 'fraction_numerical': 0.0009746588693957114, 'mean_word_length': 1.6361301369863013, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2365155', 'n_tokens_mistral': 822, 'n_tokens_neox': 771, 'n_words': 180}