WP Core doesn’t have a way to pull tags by how many posts were published associated to a tag in a given time period. You’ll need to roll your own solution. Use $wpdb->prepare
as a best practice; the Codex article on the wpdb class should give you the info you need to run the query in a WP way.