input: Write a python function to create a Flask route that returns the number of records in the database.
  assert get_record_count() == 0
  assert create_record(name="Test1") == {'id': 1}
  assert get_record_count() == 1
  assert create_record(name="Test2") == {'id': 2}
  assert get_record_count() == 2
output: from flask import Flask, jsonify
  from flask_sqlalchemy import SQLAlchemy
  
  app = Flask(__name__)
  app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///test.db'
  db = SQLAlchemy(app)
  
  class Record(db.Model):
      id = db.Column(db.Integer, primary_key=True)
      name = db.Column(db.String(50), nullable=False)
  
  db.create_all()
  
  @app.route('/record_count', methods=['GET'])
  def get_record_count():
      count = Record.query.count()
      return jsonify(count=count)
  
  @app.route('/create_record', methods=['POST'])
  def create_record():
      name = request.json['name']
      new_record = Record(name=name)
      db.session.add(new_record)
      db.session.commit()
      return jsonify(id=new_record.id)