refact query

add limit to client count
add limit to max subscribe count

	modified:   TODO
	modified:   client_mail_handler.py
	modified:   database.py