Identifying members joined in past x days/weeks/months

HI,

I’m wanting to pull together stats on my users dynamically. I can use wp_user_query to get the number of members with each capability quite easily (using the code below), but I’m struggling to use “s2member_paid_registration_time” to figure out the number of users who’ve joined a particular level in the last week/month/etc

I don’t think wp_user_query can handle usermeta that is stored in an array. Is this correct? and if so, what’s the best way to get (for example) Level 1 members who’ve joined in the last week?

$args_upgraded = array(
'count_total' => TRUE,
	'meta_query' => array(
		'relation' => 'AND',
			array(
				'key'     => 'wp_capabilities',
				'value'   => 'monthly',
				'compare' => 'LIKE'),
			array(
				'key'     => 'wp_capabilities',
				'value'   => 'upgraded',
				'compare' => 'LIKE'
)	) );
$upgraded_users = new WP_User_Query( $args_upgraded );
$upgraded_users_total = $upgraded_users->get_total();

As usual, Google is your friend: https://wordpress.stackexchange.com/questions/167111/wp-user-query-and-non-unique-usermeta-data