adding count sample