Index: src/wp-includes/ms-functions.php
===================================================================
--- src/wp-includes/ms-functions.php	(revision 40650)
+++ src/wp-includes/ms-functions.php	(working copy)
@@ -102,7 +102,7 @@
  * @return int Number of active users on the network.
  */
 function get_user_count( $network_id = null ) {
-	return get_network_option( $network_id, 'user_count' );
+	return (int) get_network_option( $network_id, 'user_count' );
 }
 
 /**
@@ -118,7 +118,7 @@
  * @return int Number of active sites on the network.
  */
 function get_blog_count( $network_id = null ) {
-	return get_network_option( $network_id, 'blog_count' );
+	return (int) get_network_option( $network_id, 'blog_count' );
 }
 
 /**
